Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 18, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )


📚 Documentation preview 📚: https://cpython-previews--583.org.readthedocs.build/

tom-pytel and others added 6 commits January 18, 2025 10:55
… turtle (#126350)

Co-authored-by: Marie Roald <[email protected]>
Co-authored-by: Yngve Mardal Moe <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Daniel Hollas <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
This reduces the import time of the `csv` module by up to five times,
by importing `re` on demand.

In particular, the `re` module is no more implicitly exposed as `csv.re`.
Rename PYTHREAD_NAME_MAXLEN to _PYTHREAD_NAME_MAXLEN.
There is a race condition between PyMem_SetAllocator() and
PyMem_RawMalloc()/PyMem_RawFree(). While PyMem_SetAllocator() write
is protected by a lock, PyMem_RawMalloc()/PyMem_RawFree() reads are
not protected by a lock. PyMem_RawMalloc()/PyMem_RawFree() can be
called with an old context and the new function pointer.

On a release build, it's not an issue since the context is not used.
On a debug build, the debug hooks use the context and so can crash.
@pull pull bot added the ⤵️ pull label Jan 18, 2025
@pull pull bot merged commit 9bc1964 into TechPenguineer:main Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants